<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/index.css">
</head>
<body>
<div id="div_toptop">toptop</div>
<div id="div_container">
<div id="div_top">
<img src="./img/logo/logo.gif">
</div>
<div id="div_navigator">navigator</div>
<div id="div_left">
<div id="bt">图书分类</div>
<div >小说<br>
<c:url value="./SortBookServlet" var="url1">
<c:param name="bookcatalog" value="人文科学技术"></c:param>
</c:url>
<a href="${url1 }">人文科学</a>
<a href="#">数理科学</a>
<a href="#">哲学社会学</a>
<a href="<%=request.getContextPath()%>/SplitPageServlet">分页显示</a>
</div>
<div >文艺<br>
<a href="#">悬疑</a>
<a href="#">言情</a>
<a href="#">职场</a>
<a href="#">财经</a></div>
<div >青春<br>
<a href="#">悬疑</a>
<a href="#">言情</a>
<a href="#">职场</a>
<a href="#">财经</a>
</div>
<div >励志<br>
<a href="#">悬疑</a>
<a href="#">言情</a>
<a href="#">职场</a>
<a href="#">财经</a></div>
</div>
<div id="div_middle">
<c:forEach items="${bookslist }" var="book">
<div class="bookdiv">

<a href="<%=request.getContextPath()%>/BookDetailServlet?id=${book.id }"><img clsss="img1" src="<%=request.getContextPath() %>/upload/${book.bookimgurl }"></a>
书名：${book.bookname }<br>
作者：${book.authorname }<br>
出版：${book.publishername }<br>
分类：${book.bookcatalog }<br>
价格：${book.bookprice }<br>
大纲：${book.bookoutline }<br>
</div>
</c:forEach>

<c:forEach begin="${newsplitpage.startpage }" end="${newsplitpage.endpage }" var="pagex">
 <a href="<%=request.getContextPath()%>/SplitPageServlet?currentpage=${pagex }">${pagex }</a>
</c:forEach>
</div>
<div id="div_right">right</div>
<div id="div_foot">foot</div>
</div>
</body>
</html>